
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>自定义菜单添加</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/ec.css">
    <link rel="stylesheet" href="css/list.css">
    <script type="text/javascript" src="../plugin/jquery/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="../plugin/validator/jquery.validate.min.js"></script>
    <script type="text/javascript" src="../admin/js/common.js"></script>
    <script type="text/javascript" src="../plugin/date/WdatePicker.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#inputForm").validate({
                rules: {
                    name: {
                        required: true
                    },
                    orders: {
                        digits: true
                    },
                    type:{
                        required:true
                    }
                },
                messages:{
                    type:{
                        required:"请选择消息类型"
                    }
                }
            });
        });
    </script>
</head>
<body>
<form id="inputForm" action="save.jhtml" method="post">
    <div class="tab set arr">
        <h3><a href="add.jhtml">添加自定义菜单</a></h3>
        <div class="tablist message">
            <table cellpadding="0" cellspacing="0">
                <tr >
                    <td ><label>菜单名称<span class="cred">*</span></label></td>
                    <td >
                        <input type="text" name="name" placeholder="菜单名称"/>
                    </td>
                    <td ><label>上级菜单</label></td>
                    <td style="width:32%;">
                        <input type="text" class="display" >
                        <select name="parentId">
                            <option>--请选择--</option>
                            <option value="13453228955926528">test,</option>
                        </select>
                        <a href="javascript:;" class="arrows" >V</a>
                    </td>
                </tr>
                <tr>
                    <td><label>操作类型<span class="cred"> * </span></label></td>
                    <td colspan="3">
                                <label><input type="radio" name="type" class="sex" value="click">点击菜单</label>
                                <label><input type="radio" name="type" class="sex" value="view">打开链接</label>
                                <label><input type="radio" name="type" class="sex" value="scancode_push">扫码推事件</label>
                    </td>
                </tr>
                <tr>
                    <td><label>消息类型</label></td>
                    <td colspan="3">
                                <label><input type="radio" name="msgType" class="sex" value="text">文本消息</label>
                                <label><input type="radio" name="msgType" class="sex" value="imgText">图文消息</label>
                    </td>
                </tr>
                <tr>
                    <td><label>链接地址/回复消息内容:</label></td>
                    <td>
                        <textarea placeholder="链接地址/回复消息内容"></textarea>
                    </td>
                    <td></td>
                    <td></td>
                </tr>
            </table>
            <p class="save">
                <input type="submit" value="保存" class="red">
            </p>
        </div>
    </div>
</form>
</body>
</html>